package com.example.administrator.yunniuusedcar.holder;

import java.util.List;

/** 添加收藏 id：29
 * Created by Administrator on 2017/12/27.
 */

public class AddSC_CollectBean {

    /**
     * code : 1
     * data : {"goods_id":29,"goods_name":"太平鸟复古刺绣夹克","discount_price":"23","integral_price":"3.04","attr_type_id":4,"shop_price":"4.05","vip_grade":2,"stock":111,"goods_img":"http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348c906c9c2.jpeg","goods_gallery":["http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348c906c9c2.jpeg","http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348ca5e287c.jpeg","http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348d08d1146.jpeg"],"goods_desc":"<p><label for=\"name\" style=\"box-sizing: border-box; display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700;\">商品详情<\/label><\/p><p>自定义标题<\/p><p>段落格式<\/p><p>字体ewrwerwe<\/p><p>字号<\/p><p><iframe style=\"box-sizing: border-box; display: block; width: 20px; height: 20px; overflow: hidden; border-width: 0px; border-style: initial; margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; opacity: 0; cursor: pointer;\"><\/iframe><\/p><p>代码语言64564564<\/p><p><label for=\"name\" style=\"box-sizing: border-box; display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700;\">商品详情<\/label><\/p><p>自定义标题<\/p><p>段落格式<\/p><p>字体<\/p><p>字号<\/p><p><iframe style=\"box-sizing: border-box; display: block; width: 20px; height: 20px; overflow: hidden; border-width: 0px; border-style: initial; margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; opacity: 0; cursor: pointer;\"><\/iframe><\/p><p>代码语言<\/p><p><br/><\/p>","attr":[{"attr_name":"规格","attr_id":8,"attr_val":[{"attr_val_id":53,"attr_id":"8","names":"大码"},{"attr_val_id":52,"attr_id":"8","names":"中码"},{"attr_val_id":51,"attr_id":"8","names":"小码"}]},{"attr_name":"颜色","attr_id":4,"attr_val":[{"attr_val_id":11,"attr_id":"4","names":"黑色"},{"attr_val_id":10,"attr_id":"4","names":"黄色"}]}],"sku":[{"sort_attr_val_id":"11,53","price":"1.00","stock":33},{"sort_attr_val_id":"10,53","price":"2.00","stock":444}]}
     */

    public int code;
    public Data data;

    public static class Data {
        /**
         * goods_id : 29
         * goods_name : 太平鸟复古刺绣夹克
         * discount_price : 23
         * integral_price : 3.04
         * attr_type_id : 4
         * shop_price : 4.05
         * vip_grade : 2
         * stock : 111
         * goods_img : http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348c906c9c2.jpeg
         * goods_gallery : ["http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348c906c9c2.jpeg","http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348ca5e287c.jpeg","http://carshop.cloudabull.com/static/Uploads/goods/2017-12-16/5a348d08d1146.jpeg"]
         * goods_desc : <p><label for="name" style="box-sizing: border-box; display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700;">商品详情</label></p><p>自定义标题</p><p>段落格式</p><p>字体ewrwerwe</p><p>字号</p><p><iframe style="box-sizing: border-box; display: block; width: 20px; height: 20px; overflow: hidden; border-width: 0px; border-style: initial; margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; opacity: 0; cursor: pointer;"></iframe></p><p>代码语言64564564</p><p><label for="name" style="box-sizing: border-box; display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700;">商品详情</label></p><p>自定义标题</p><p>段落格式</p><p>字体</p><p>字号</p><p><iframe style="box-sizing: border-box; display: block; width: 20px; height: 20px; overflow: hidden; border-width: 0px; border-style: initial; margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; opacity: 0; cursor: pointer;"></iframe></p><p>代码语言</p><p><br/></p>
         * attr : [{"attr_name":"规格","attr_id":8,"attr_val":[{"attr_val_id":53,"attr_id":"8","names":"大码"},{"attr_val_id":52,"attr_id":"8","names":"中码"},{"attr_val_id":51,"attr_id":"8","names":"小码"}]},{"attr_name":"颜色","attr_id":4,"attr_val":[{"attr_val_id":11,"attr_id":"4","names":"黑色"},{"attr_val_id":10,"attr_id":"4","names":"黄色"}]}]
         * sku : [{"sort_attr_val_id":"11,53","price":"1.00","stock":33},{"sort_attr_val_id":"10,53","price":"2.00","stock":444}]
         */

        public int goods_id;
        public String goods_name;
        public String discount_price;
        public String integral_price;
        public int attr_type_id;
        public String shop_price;
        public int vip_grade;
        public int stock;
        public String goods_img;
        public String goods_desc;
        public List<String> goods_gallery;
        public List<Attr> attr;
        public List<Sku> sku;

        public static class Attr {
            /**
             * attr_name : 规格
             * attr_id : 8
             * attr_val : [{"attr_val_id":53,"attr_id":"8","names":"大码"},{"attr_val_id":52,"attr_id":"8","names":"中码"},{"attr_val_id":51,"attr_id":"8","names":"小码"}]
             */

            public String attr_name;
            public int attr_id;
            public List<AttrVal> attr_val;

            public static class AttrVal {
                /**
                 * attr_val_id : 53
                 * attr_id : 8
                 * names : 大码
                 */

                public int attr_val_id;
                public String attr_id;
                public String names;
            }
        }

        public static class Sku {
            /**
             * sort_attr_val_id : 11,53
             * price : 1.00
             * stock : 33
             */

            public String sort_attr_val_id;
            public String price;
            public int stock;
        }
    }
}
